package com.longma.server.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.longma.server.entity.InspectionRecord;
import com.longma.server.pojo.dto.AdvanceQueryConditionDTO;
import com.longma.server.pojo.dto.InspectionRecordAddDTO;
import com.longma.server.pojo.dto.InspectionRecordUpdateDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HAIBO
 * @since 2021-04-28
 */
public interface IInspectionRecordService {
    InspectionRecord addInspectionRecord(InspectionRecordAddDTO addRequestDTO);
    boolean deleteInspectionRecordByIds(List<Integer> ids);
    boolean deleteInspectionRecordById(Integer id);
    IPage<InspectionRecord> getInspectionRecordByPage(Long pageNum, Long pageSize, Boolean all, List<AdvanceQueryConditionDTO> conditions);
    InspectionRecord updateInspectionRecord(InspectionRecordUpdateDTO updateRequestDTO);
}
